UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The system must prevent the use of dictionary words for passwords.


Overview

Finding ID Version Rule ID IA Controls Severity
GEN000790-ESXI5-000085 GEN000790-ESXI5-000085 GEN000790-ESXI5-000085_rule Medium
Description
An easily guessable password provides an open door to any external or internal malicious intruder. Many computer compromises occur as the result of account name and password guessing. This is generally done by someone with an automated script using repeated logon attempts until the correct account and password pair is guessed. Utilities, such as cracklib, can be used to validate passwords are not dictionary words and meet other criteria during password changes.
STIG Date
VMware ESXi v5 Security Technical Implementation Guide 2013-01-15

Details

Check Text ( C-GEN000790-ESXI5-000085_chk )
Temporarily disable Lockdown Mode and enable the ESXi Shell via the vSphere Client. Open the vSphere/VMware Infrastructure (VI) Client and log in with appropriate credentials. If connecting to vCenter Server, click on the desired host. Click the Configuration tab. Click Software, Security Profile, Services, Properties, ESXi Shell and Options, respectively. Start the ESXi Shell service, where/as required.
As root, log in to the host and verify the expected settings are configured in the /etc/pam.d/passwd file. The entry format is :

"password requisite /lib/security/pam_passwdqc.so similar=deny retry=N min=N0,N1,N2,N3,N4"

The "N2" field controls the behavior enforcing "no dictionary words". This flag should be set to "disabled".

# grep "^password" /etc/pam.d/passwd | grep requisite | grep "min="

If the "N2" password complexity field is not set to "disabled", this is a finding.

Re-enable Lockdown Mode on the host.
Fix Text (F-GEN000790-ESXI5-000085_fix)
Temporarily disable Lockdown Mode and enable the ESXi Shell via the vSphere Client. Open the vSphere/VMware Infrastructure (VI) Client and log in with appropriate credentials. If connecting to vCenter Server, click on the desired host. Click the Configuration tab. Click Software, Security Profile, Services, Properties, ESXi Shell and Options, respectively. Start the ESXi Shell service, where/as required.

As root, log in to the host and ensure the expected settings of the "min" keyword are configured in the /etc/pam.d/passwd file.

# vi /etc/pam.d/passwd

Set the "N2" password complexity field to "disabled", ie: min=disabled,disabled,disabled,disabled,14

Re-enable Lockdown Mode on the host.